﻿using System;
using System.Collections.Generic;

namespace Topro.Entity.Response.DeviceData
{
    public class TimeAnalysisResponse
    {
        /// <summary>
        /// 类别
        /// </summary>
        public List<string> Categories { get; set; }

        /// <summary>
        /// 系数列表
        /// </summary>
        public List<TimeAnalysisSeries> TimeAnalysisSeries { get; set; }

        /// <summary>
        /// 系数列表
        /// </summary>
        public List<DayList> DayList { get; set; }
    }

    public class DayData
    {
        public List<DayList> DayList { get; set; }
    }

    public class DayList
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 天
        /// </summary>
        public string Day { get; set; }

        /// <summary>
        /// 名字
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 样式
        /// </summary>
        public string StyeName { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public string Time { get; set; }
    }

    public class TimeAnalysisSeries
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 諜
        /// </summary>
        public string Color { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public List<decimal> Data { get; set; }
    }

    public class TargetAnalysisSeries
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string TargetName { get; set; }

        /// <summary>
        /// 颜色
        /// </summary>
        public string TargetColor { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public decimal TargetY { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string RealityName { get; set; }

        /// <summary>
        /// 颜色
        /// </summary>
        public string RealityColor { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public decimal RealityY { get; set; }
    }

    /// <summary>
    /// 设备
    /// </summary>
    public class TimeAnalysisDeviceResponse
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string DeviceName { get; set; }

        /// <summary>
        /// Service
        /// </summary>
        public decimal Service { get; set; }

        /// <summary>
        /// Ready
        /// </summary>
        public decimal Ready { get; set; }

        /// <summary>
        /// Idle
        /// </summary>
        public decimal Idle { get; set; }

        /// <summary>
        /// Error
        /// </summary>
        public decimal Error { get; set; }

        /// <summary>
        /// Working
        /// </summary>
        public decimal Working { get; set; }
    }

    
    /// <summary>
    /// 大屏时间分析
    /// </summary>
    public class LargeScreenTimeAnalysisResponse
    {
        /// <summary>
        /// Service
        /// </summary>
        public decimal Service { get; set; }

        /// <summary>
        /// Ready
        /// </summary>
        public decimal Ready { get; set; }

        /// <summary>
        /// Idle
        /// </summary>
        public decimal Idle { get; set; }

        /// <summary>
        /// Error
        /// </summary>
        public decimal Error { get; set; }

        /// <summary>
        /// Working
        /// </summary>
        public decimal Working { get; set; }
    }
}
